/*
 * masterCycle.h
 *
 *  Created on: 25/nov/2009
 *      Author: Aleph3
 */
//contiene supporto funzioni MasterGetMachine e MasterPutMachine
#ifndef MASTERCYCLE_H_
#define MASTERCYCLE_H_
#include "stateMachineTester.h"
void initCycle(HandShakeMachine* hms, void* txBuffer, uint16_t txSize, void* rxBuffer, uint16_t rxMaxSize);
typedef struct{
	StateMachine super;
	HandShakeMachine microCycleHandler;
	uint16_t pCounter;
	uint16_t i;
	void* masterBuffer;
}MasterMachine;
#endif /* MASTERCYCLE_H_ */
